<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
	<head th:replace="/pc/common::head(~{::custom_settings})">
		<th:block th:fragment="custom_settings">
			<title>浏览图片</title>
			<link type="text/css" rel="stylesheet" th:href="@{{lib}/viewer/viewer.css(lib=${lib})}"/>
			<script type="text/javascript" th:src="@{{lib}/viewer/viewer.js(lib=${lib})}"></script>
		</th:block>
	</head>
	
	<body>
		<img id="viewer" th:alt="${imageName}" th:src="${imageUrl}" style="display: none;">
		<script type="text/javascript">
			$("#viewer").viewer();
			$("#viewer").click();
		</script>
	</body>
</html>